package ex3.controller.demo;

/**
 * @AUTHOR 尹书岿
 * @DATE 2024/12/11 14:09
 * @DESCRIBE
 */
public class newMovie extends movie{

    @Override
    double conmputerMoney() {
        return days * 3;
    }

    @Override
    int computerScore() {
        if (days > 1) {
            return 2;
        }
        return 1;
    }

    public newMovie(int days, String name) {
        super(days, name);
    }
}
